﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.CMS263.PO;

namespace Com.CMS263.DAO
{
    public class ImageDAO : BaseService
    {
        public IList<Image> GetListPaging(string type,int mid)
        {
            string hql = "from Image where 1=1 and Type='"+type+"' and ModelId="+mid;
            hql += " order By OrderNum asc";

            return FindList<Image>(hql, null, null, null);
        }
    }
}
